package com.zhcd.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author feifei
 * @since 2021-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Catalog对象", description="")
public class Catalog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "栏目id")
    @TableId(value = "Cid", type = IdType.AUTO)
    private Integer cid;

    @ApiModelProperty(value = "栏目名称")
    @TableField("CName")
    private String cname;

    @ApiModelProperty(value = "上级目录")
    @TableField("UpNav")
    private Integer upnav;

    @ApiModelProperty(value = "链接地址")
    @TableField("Url")
    private String url;

    @ApiModelProperty(value = "栏目英文名称")
    @TableField("EnName")
    private String enname;

    @ApiModelProperty(value = "备注")
    @TableField("Remark")
    private String remark;

    @ApiModelProperty(value = "排序")
    @TableField("Sort")
    private Integer sort;

    @ApiModelProperty(value = "图标")
    @TableField("Icon")
    private String icon;


}
